package com.example.springboot_demo.service;

import com.example.springboot_demo.pojo.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService {
    String checkUM(User user);

    String checkLogin(User user, Boolean flag, HttpServletRequest req, HttpServletResponse resp);

    String register(User user);

     String updatePassword(String userName,String oldPwd,String newPwd1,String newPwd2,HttpServletRequest req,HttpServletResponse resp);
}
